package com.choosefine.it.worker.model.vo;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Comments：工人工资明细列表
 * Author：yuxin
 * Create Date：2017/2/16/0016
 * Modified By：
 * Modified Date：
 * Why & What is modified：
 * Version：v1.0
 */
@ApiModel(value = "工人工资明细列表")
public class WorkerSalaryDayInterfaceVO {

    @ApiModelProperty(value = "工资每日表主键")
    private Integer id;
//    @ApiModelProperty(value = "日期（年-月-日）")
    private long dataTime;
    @ApiModelProperty(value = "工数")
    private BigDecimal workTime;
    @ApiModelProperty(value = "工价")
    private BigDecimal unitSalary;
    @ApiModelProperty(value = "总金额,如果传递则保存传递的，否则后台依照的 WorkTime * UnitSalary 总金额")
    private BigDecimal actualSalary;
    @ApiModelProperty(value ="用户编码" )
    private String userCode;
    @ApiModelProperty(value = "工人所在项目-班组关联表 主键")
    private Integer workerItemsRelationId;

    //add juchengyang
//    @ApiModelProperty(value = "工价变动",dataType="double")
//    private BigDecimal changedSalary;
    
    @ApiModelProperty(value = "工价调整理由")
    private String priceChangeReason;
    
//    @ApiModelProperty(value = "正式表的调整后的 工时量",dataType="double")
//    private BigDecimal workTimeChanged;
    
    @ApiModelProperty(value = "工时调整的原因",dataType="String")
    private String changedReason;
    
    @ApiModelProperty(value = "调整前工数")
    private BigDecimal workTimeBefore;
    
    @ApiModelProperty(value = "调整前工价")
    private BigDecimal unitSalaryBefore;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getWorkerItemsRelationId() {
        return workerItemsRelationId;
    }

    public void setWorkerItemsRelationId(Integer workerItemsRelationId) {
        this.workerItemsRelationId = workerItemsRelationId;
    }

    public long getDataTime() {
        return dataTime;
    }

    public void setDataTime(long dataTime) {
        this.dataTime = dataTime;
    }

    public BigDecimal getWorkTime() {
        return workTime;
    }

    public void setWorkTime(BigDecimal workTime) {
        this.workTime = workTime;
    }

    public BigDecimal getUnitSalary() {
        return unitSalary;
    }

    public void setUnitSalary(BigDecimal unitSalary) {
        this.unitSalary = unitSalary;
    }

    public BigDecimal getActualSalary() {
        return actualSalary;
    }

    public void setActualSalary(BigDecimal actualSalary) {
        this.actualSalary = actualSalary;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

//	public BigDecimal getChangedSalary() {
//		return changedSalary;
//	}
//
//	public void setChangedSalary(BigDecimal changedSalary) {
//		this.changedSalary = changedSalary;
//	}

	public String getPriceChangeReason() {
		return priceChangeReason;
	}

	public void setPriceChangeReason(String priceChangeReason) {
		this.priceChangeReason = priceChangeReason;
	}

//	public BigDecimal getWorkTimeChanged() {
//		return workTimeChanged;
//	}
//
//	public void setWorkTimeChanged(BigDecimal workTimeChanged) {
//		this.workTimeChanged = workTimeChanged;
//	}

	public String getChangedReason() {
		return changedReason;
	}

	public void setChangedReason(String changedReason) {
		this.changedReason = changedReason;
	}

	public BigDecimal getWorkTimeBefore() {
		return workTimeBefore;
	}

	public void setWorkTimeBefore(BigDecimal workTimeBefore) {
		this.workTimeBefore = workTimeBefore;
	}

	public BigDecimal getUnitSalaryBefore() {
		return unitSalaryBefore;
	}

	public void setUnitSalaryBefore(BigDecimal unitSalaryBefore) {
		this.unitSalaryBefore = unitSalaryBefore;
	}
    
}
